package com.gao.service;

import com.gao.domain.Goods;

/**
 * @author gao
 * @time 2020/04/2020/4/24 22:12:09
 */

public interface IGoodsService {
    boolean updateGoodsAmount(Integer gid, Integer amount);
    boolean updateGoodsAmountByVersion(Integer gid, Integer amount);
    void delete(Integer gid);
    void save(Goods goods);
    Goods findByGid(Integer gid);

}
